package com.scau.hwadee.examination.mapper;

import com.scau.hwadee.examination.entity.Majorcourse;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 *@author YHX
 *@date 2019/7/29  9:03
 *@description
 */
public interface MajorcourseMapper {
    int deleteByPrimaryKey(String mcId);

    int insert(Majorcourse record);

    int insertSelective(Majorcourse record);

    List<Majorcourse>  selectByMajor(@Param("pageNum") int pageNum,
                                     @Param("paegSize")int pageSize,String mjId);


    Majorcourse selectByPrimaryKey(String mcId);

    int updateByPrimaryKeySelective(Majorcourse record);

    int updateByPrimaryKey(Majorcourse record);

}